package service;
import entity.Competitions;
import java.util.List;

public interface CompetitionsService {
    Competitions getById(Integer id);
    List<Competitions> getAll();
    List<Competitions> getByStudentId(Integer studentId);
    int create(Competitions competition);
    int update(Competitions competition);
    int delete(Integer id);
}
